package com.dflc.service;

import com.dflc.entity.po.TBackLoginUser;
import com.baomidou.mybatisplus.extension.service.IService;
import com.dflc.entity.rep.HttpResponseEntity;
import com.dflc.entity.req.BackUserReq;
import com.dflc.entity.req.LoginReq;

/**
* @author 86158
* @description 针对表【t_back_login_user(后台管理员账号)】的数据库操作Service
* @createDate 2024-11-27 10:54:12
*/
public interface TBackLoginUserService extends IService<TBackLoginUser> {

    public HttpResponseEntity login(LoginReq req,String clientIp);

    public HttpResponseEntity findUserByUserName(BackUserReq req);

    //根据userId查询用后台户账号信息是否是超级管理员
    public HttpResponseEntity findUserIsAdminByUserId(Integer userId);


}
